<!doctype html>
<html lang="zh">
<head>
	<meta charset="UTF-8" />
	<title>管理登录</title>
	<link href="/static/lunch/css/bootstrap.min.css" rel="stylesheet">
	<link href="/static/lunch/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
	<style type="text/css">
body {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #eee;
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
	</style>
</head>
<body>
<div class="container">
  <form class="form-signin" role="form" method="POST">
    <h2 class="form-signin-heading">Please sign in</h2>
    <input type="text" class="form-control" value="admin" placeholder="User" name="username" required> <br />
    <input type="password" class="form-control" placeholder="Password" name="password" required autofocus>
    <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
  </form>
</div>

<script src="/static/lunch/js/jquery-1.9.1.min.js"></script>
<script src="/static/lunch/js/bootstrap.min.js"></script>
<!--[if lt IE 9]>
  <script src="/static/lunch/js/html5shiv.js"></script>
  <script src="/static/lunch/js/respond.min.js"></script>
<![endif]-->
<script>
Date.prototype.Format = function(fmt)   
{ //author: meizz   
  var o = {   
    "M+" : this.getUTCMonth()+1,
    "d+" : this.getUTCDate(),                    //日   
    "h+" : this.getUTCHours(),                   //小时   
    "m+" : this.getUTCMinutes(),                 //分   
    "s+" : this.getUTCSeconds(),                 //秒   
    "q+" : Math.floor((this.getUTCMonth()+3)/3), //季度   
    "S"  : this.getUTCMilliseconds()             //毫秒   
  };   
  if(/(y+)/.test(fmt))   
    fmt=fmt.replace(RegExp.$1, (this.getFullYear()+"").substr(4 - RegExp.$1.length));   
  for(var k in o)   
    if(new RegExp("("+ k +")").test(fmt))   
  fmt = fmt.replace(RegExp.$1, (RegExp.$1.length==1) ? (o[k]) : (("00"+ o[k]).substr((""+ o[k]).length)));   
  return fmt;   
}
</script>
</body>
</html>